package xiaoqi.springboot.boot;

import org.springframework.boot.test.context.TestComponent;

@TestComponent // 只在测试环境生效
public class Cat {

    public void index() {
        System.out.println("cat index");
    }
}
